﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web2014112110
{
    public partial class RegisterOne : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Title = "注册登录账号界面虹虹更改";
        }

        protected void btnNext_Click(object sender, EventArgs e)
        {
            if (this.CheckBox1.Checked)
            {
                Response.Redirect("RegisterTwo.aspx");
            }
            else {
                Response.Write("<script>alert('对不起，需要同意才能注册账号，单击“确定”即可返回。');location.href='RegisterOne.aspx';</script>");
            }
        }
        protected void Page_PreInit(object sender, EventArgs e)
        {
            Page.Theme = "ThemeFour";
        }
    }
}